package com.mgkj.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author yyyjcg
 * @date 2024/3/18
 * @Description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EnableSwagger2
@ApiModel(value = "领料下架Dto")
public class MoIssueReceiptSubmitDto {
    @ApiModelProperty(value = "领料申请单单号/易飞做工单单号")
    private String docNo;

    @ApiModelProperty("品号")
    private String itemCode;

    @ApiModelProperty("品名")
    private String itemName;

    @ApiModelProperty("规格")
    private String itemSpec;

    @ApiModelProperty("仓库编号")
    private String warehouseCode;

    @ApiModelProperty("库位编号")
    private String binCode;

    @ApiModelProperty("单位编号")
    private String unitCode;

    @ApiModelProperty("单位名称")
    private String unitName;

    @ApiModelProperty("需领用量")
    private BigDecimal requestQty;

    @ApiModelProperty("已领用量")
    private BigDecimal issueReceiptQty;

    @ApiModelProperty(value = "客户单号")
    private String customerNo;

    @ApiModelProperty("收货机构")
    private String shjg;

    @ApiModelProperty("工单单号")
    private String MoDocNo;

    @ApiModelProperty("客户/需求单号")
    private String DemandNo;

    @ApiModelProperty("条码")
    private String barcode;

    @ApiModelProperty("库存数量")
    private Double inventoryNum;

    private BigDecimal currectNum;

    //比vo多两个字段
    @ApiModelProperty("实际领用量")
    private Double qty;
    @ApiModelProperty("批号")
    private String lotNumber;

    @ApiModelProperty(value = "库位和对应的验收数量")
    private List<KWAndNum> kwInfo;
}
